package com.vst.orm.search;

import java.util.List;

public abstract interface ISearch {
	public static final int RESULT_AUTO = 0;
	public static final int RESULT_ARRAY = 1;
	public static final int RESULT_LIST = 2;
	public static final int RESULT_MAP = 3;
	public static final int RESULT_SINGLE = 4;

	public abstract int getFirstResult();

	public abstract int getMaxResults();

	public abstract int getPage();

	public abstract Class<?> getSearchClass();

	public abstract List<Filter> getFilters();

	public abstract boolean isDisjunction();

	public abstract List<Sort> getSorts();

	public abstract List<Field> getFields();

	public abstract boolean isDistinct();

	public abstract List<String> getFetches();

	public abstract int getResultMode();
}
